package com.zky.gulimall.order.to;

import com.zky.gulimall.order.entity.OrderEntity;
import com.zky.gulimall.order.entity.OrderItemEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Description 订单创建to
 * @Author 张开源
 * @Date 2022/12/11 22:50
 * @Version 1.0
 **/
@Data
public class OrderCreateTo {

    private OrderEntity order;

    private List<OrderItemEntity> items;
    /**
     * 订单计算应付价格
     */
    private BigDecimal payPrice;
    /**
     * 运费
     */
    private BigDecimal fare;


}
